package com.tuling.controller;

import com.tuling.feign.FeignController;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Type OrderController.java
 * @Desc
 * @Author wzw
 * @Date 2024/8/11 16:49
 */
@RequestMapping("/orderInfo")
@RestController
public class OrderController {
    @Resource
    private FeignController feignController;
    @Resource
//    private StringRedisTemplate stringRedisTemplate;
    @RequestMapping("/reduce")
    public String reduceOrder(){
        System.out.println("xxxx");
        feignController.reduce("78788ooooooo");
        return "ok";
    }
}
